package com.luo.demo.ks.devops.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * REST服务 - Controller
 *
 * @author luohq
 * @date 2022-05-04
 */
@RestController
@Slf4j
public class RestSvcController {

    @GetMapping("/hello")
    public String hello() {
        String helloReply = "hello world!";
        log.info(helloReply);
        return helloReply;
    }
}
